package com.example.icongyou.bean;

import com.google.gson.annotations.SerializedName;

public class TaskStats {
    @SerializedName("completedTasks")
    private int completedTasks; // 已完成任务数

    @SerializedName("pendingTasks")
    private int pendingTasks; // 待完成任务数

    @SerializedName("completionRate")
    private double completionRate; // 完成率（0-100）

    public int getCompletedTasks() {
        return completedTasks;
    }

    public void setCompletedTasks(int completedTasks) {
        this.completedTasks = completedTasks;
    }

    public int getPendingTasks() {
        return pendingTasks;
    }

    public void setPendingTasks(int pendingTasks) {
        this.pendingTasks = pendingTasks;
    }

    public double getCompletionRate() {
        return completionRate;
    }

    public void setCompletionRate(double completionRate) {
        this.completionRate = completionRate;
    }
}